AppHandle<'error, 'value>Type

PackageAxial
Owns one running root workflow and provides coordinated application shutdown.

Specification

Kind
Type
Members
3
Examples
0
StopSignature
this.Stop
StatusSignature
this.Status
CompletionSignature
this.Completion

Summary

NameSignatureSynopsis
Operations
Stopthis.StopRequests cooperative interruption and waits for the final application exit.
Statusthis.StatusGets the current application lifecycle state.
Completionthis.CompletionWaits for the root workflow and its scope finalizers to complete.

Operations

kind:member

Stop

this.Stop
Member
Requests cooperative interruption and waits for the final application exit.

Returns

Async<Exit<'value, 'error>>
kind:member

Status

this.Status
Member
Gets the current application lifecycle state.

Returns

AppStatus
kind:member

Completion

this.Completion
Member
Waits for the root workflow and its scope finalizers to complete.

Returns

Async<Exit<'value, 'error>>